As hotplug events are asynchronous by its nature, the remove event seems
authorroot@kct <root@kct>
Mon, 9 Jan 2006 11:24:02 +0000 (11:24 +0000)
committerroot@kct <root@kct>
Mon, 9 Jan 2006 11:24:02 +0000 (11:24 +0000)
commitd8d1f1f6c57a395892fc3e3a39075e1079c1b9bd
treeb59cfb65d813fec95c418ae527301c57a040cd93
parent1676162e17e90f35b2c2b03c5b6a06eb8dc35c0b
As hotplug events are asynchronous by its nature, the remove event seems
to be missed in some environments. This patch adds a sleep (with the same
amount of time of the one after xm block-detach) between attach and
detach operations, giving attach enough time to complete, making test 06
suceed.

Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com>
tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py